package cw.itsource;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @EnableFeignClients :开启Feign支持
 */
@SpringBootApplication
@EnableEurekaClient //开启eureka客户端 开关
@EnableFeignClients //开启Feign客户端 开关
public class FeignApp {
    public static void main(String[] args) {
        SpringApplication.run(FeignApp.class, args);
    }

}
